package com.tony.mindhr.mapper;

import com.tony.mindhr.model.Role;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 *
 * @Title: RoleMapper
 * @Auther: 皮蛋布丁
 * @Date: 2021/04/19/14:13
 * @Description:
 */
public interface RoleMapper {

    int deleteByPrimaryKey(Integer id);

    int insert(Role record);

    int insertSelective(Role record);

    Role selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Role record);

    int updateByPrimaryKey(Role record);

    List<Role> getAllroles();
}
